class AmmoSupportPickup extends KFWeaponPickup;

/*

auto state Pickup
{
    function Touch( actor Other )
    {
        local Pawn P;
        local PlayerController PC;
		local SRPlayerReplicationInfo SRPRI;

        P = Pawn(Other);
		
        if(P!=none)
        {
			PC = PlayerController(P.Controller);
			SRPRI = SRPlayerReplicationInfo(PC.PlayerReplicationInfo);

			if ( ValidTouch(Other) && ( SRPRI.ClientVeteranSkill != class'SRVetJuggernaut' || (SRPRI.ClientVeteranSkill == class'SRVetJuggernaut' &&
				SRPRI.AmmoSupportUsed < 3) ) )
			{
				Copy = SpawnCopy(Pawn(Other));
				AnnouncePickup(Pawn(Other));
				SetRespawn();
				if ( Copy != None )
					Copy.PickupFunction(Pawn(Other));
			}
		}
       }
    }
}

*/

defaultproperties
{
     Weight=0.000000
     cost=0
     AmmoCost=0
     Description="Support Ammo Box"
     ItemName="Support Ammo Box"
     AmmoItemName="Support Ammo Box"
	 PickupMessage="You've got some ammo support from friendly Juggernaut."
     PickupSound=Sound'KF_InventorySnd.Ammo_GenericPickup'
     StaticMesh=StaticMesh'kf_generic_sm.pickups.Metal_Ammo_Box'
     CollisionRadius=20.000000
     CollisionHeight=10.000000
	 InventoryType=Class'ServerPerksV4C.AmmoSupport'
	 DrawScale=0.65
	 bNoRespawn=true
}
